// 用户
import {
	request
} from "../utils/request"

export default {
	// 物流公司
	mallExpressWxList: () => {
		return request({
			url: `/mall/express/wx/list`,
		})
	},
	//用户售后发货
	orderServiceWxDelivery: (data) => {
		return request({
			url: `/member/orderService/wx/delivery`,
			method: 'POST',
			data
		})
	},
	// 售后原因
	serviceReasonWxList: () => {
		return request({
			url: `/mall/serviceReason/wx/list`,
		})
	},
	// 售后列表
	orderServiceWxList: (nav,data) => {
		return request({
			url: `/member/orderService/wx/list/${nav}`,
			data
		})
	},
	// 售后详情
	serviceReasonWxDetail: (data) => {
		return request({
			url: `/member/orderService/wx/detail/${data.serviceNo}`,
		})
	},
	// 取消售后
	serviceReasonWxCancel: (data) => {
		return request({
			url: `/member/orderService/wx/cancel/${data.serviceNo}`,
		})
	},
	// // 获取用户信息
	// userWxInfo: (data) => {
	// 	return request({
	// 		url: `/member/user/wx/info`,
	// 	})
	// },
	//申请售后服务
	orderServiceWxApplyService: (data) => {
		return request({
			url: `/member/orderService/wx/applyService`,
			method: 'POST',
			data
		})
	},
	// // 获取我的关注
	// followList: (data) => {
	// 	return request({
	// 		url: `/follow/list`,
	// 		method: 'POST',
	// 		contentType: "application/x-www-form-urlencoded",
	// 		data
	// 	})
	// },


}
